This Scatter chart shows the new line dash setting. It's not available in all browsers as of March 2014.
This goes in the documents header:<script src="RGraph.common.core.js"></script> <script src="RGraph.scatter.js"></script>Put this where you want the chart to show up:
<canvas id="cvs" width="600" height="200"> [No canvas support] </canvas>This is the code that generates the chart:
<script> new RGraph.Scatter({ id: 'cvs', data: [[1,8],[5,4],[6,3],[9,4],[18,5],[19,3],[20,5]], options: { xmax: 20, labels: ['Jan','Feb','Mar'], ticksize: 5, line: true, lineDash: [5,5], lineColors: ['red'], textSize: 16 } }).draw(); </script>